/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Race American Indian Eastern Tribes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S15093 (C-0-T14914-S14915-S14916-S15093-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getRaceAmericanIndianEasternTribes()
 * @model extendedMetaData="name='RaceAmericanIndianEasternTribes'"
 * @generated
 */
public enum RaceAmericanIndianEasternTribes implements Enumerator {
	/**
	 * The '<em><b>12336</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12336_VALUE
	 * @generated
	 * @ordered
	 */
	_12336(0, "_12336", "1233-6"),

	/**
	 * The '<em><b>12344</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12344_VALUE
	 * @generated
	 * @ordered
	 */
	_12344(1, "_12344", "1234-4"),

	/**
	 * The '<em><b>12351</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12351_VALUE
	 * @generated
	 * @ordered
	 */
	_12351(2, "_12351", "1235-1"),

	/**
	 * The '<em><b>12369</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12369_VALUE
	 * @generated
	 * @ordered
	 */
	_12369(3, "_12369", "1236-9"),

	/**
	 * The '<em><b>12377</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12377_VALUE
	 * @generated
	 * @ordered
	 */
	_12377(4, "_12377", "1237-7"),

	/**
	 * The '<em><b>12385</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12385_VALUE
	 * @generated
	 * @ordered
	 */
	_12385(5, "_12385", "1238-5"),

	/**
	 * The '<em><b>12393</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12393_VALUE
	 * @generated
	 * @ordered
	 */
	_12393(6, "_12393", "1239-3"),

	/**
	 * The '<em><b>12401</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12401_VALUE
	 * @generated
	 * @ordered
	 */
	_12401(7, "_12401", "1240-1"),

	/**
	 * The '<em><b>12419</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12419_VALUE
	 * @generated
	 * @ordered
	 */
	_12419(8, "_12419", "1241-9"),

	/**
	 * The '<em><b>12427</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12427_VALUE
	 * @generated
	 * @ordered
	 */
	_12427(9, "_12427", "1242-7"),

	/**
	 * The '<em><b>12435</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12435_VALUE
	 * @generated
	 * @ordered
	 */
	_12435(10, "_12435", "1243-5"),

	/**
	 * The '<em><b>12443</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12443_VALUE
	 * @generated
	 * @ordered
	 */
	_12443(11, "_12443", "1244-3"),

	/**
	 * The '<em><b>12450</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12450_VALUE
	 * @generated
	 * @ordered
	 */
	_12450(12, "_12450", "1245-0"),

	/**
	 * The '<em><b>12468</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12468_VALUE
	 * @generated
	 * @ordered
	 */
	_12468(13, "_12468", "1246-8"),

	/**
	 * The '<em><b>12476</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12476_VALUE
	 * @generated
	 * @ordered
	 */
	_12476(14, "_12476", "1247-6"),

	/**
	 * The '<em><b>12484</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_12484_VALUE
	 * @generated
	 * @ordered
	 */
	_12484(15, "_12484", "1248-4");

	/**
	 * The '<em><b>12336</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12336</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12336
	 * @model literal="1233-6"
	 * @generated
	 * @ordered
	 */
	public static final int _12336_VALUE = 0;

	/**
	 * The '<em><b>12344</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12344</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12344
	 * @model literal="1234-4"
	 * @generated
	 * @ordered
	 */
	public static final int _12344_VALUE = 1;

	/**
	 * The '<em><b>12351</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12351</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12351
	 * @model literal="1235-1"
	 * @generated
	 * @ordered
	 */
	public static final int _12351_VALUE = 2;

	/**
	 * The '<em><b>12369</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12369</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12369
	 * @model literal="1236-9"
	 * @generated
	 * @ordered
	 */
	public static final int _12369_VALUE = 3;

	/**
	 * The '<em><b>12377</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12377</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12377
	 * @model literal="1237-7"
	 * @generated
	 * @ordered
	 */
	public static final int _12377_VALUE = 4;

	/**
	 * The '<em><b>12385</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12385</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12385
	 * @model literal="1238-5"
	 * @generated
	 * @ordered
	 */
	public static final int _12385_VALUE = 5;

	/**
	 * The '<em><b>12393</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12393</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12393
	 * @model literal="1239-3"
	 * @generated
	 * @ordered
	 */
	public static final int _12393_VALUE = 6;

	/**
	 * The '<em><b>12401</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12401</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12401
	 * @model literal="1240-1"
	 * @generated
	 * @ordered
	 */
	public static final int _12401_VALUE = 7;

	/**
	 * The '<em><b>12419</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12419</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12419
	 * @model literal="1241-9"
	 * @generated
	 * @ordered
	 */
	public static final int _12419_VALUE = 8;

	/**
	 * The '<em><b>12427</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12427</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12427
	 * @model literal="1242-7"
	 * @generated
	 * @ordered
	 */
	public static final int _12427_VALUE = 9;

	/**
	 * The '<em><b>12435</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12435</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12435
	 * @model literal="1243-5"
	 * @generated
	 * @ordered
	 */
	public static final int _12435_VALUE = 10;

	/**
	 * The '<em><b>12443</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12443</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12443
	 * @model literal="1244-3"
	 * @generated
	 * @ordered
	 */
	public static final int _12443_VALUE = 11;

	/**
	 * The '<em><b>12450</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12450</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12450
	 * @model literal="1245-0"
	 * @generated
	 * @ordered
	 */
	public static final int _12450_VALUE = 12;

	/**
	 * The '<em><b>12468</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12468</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12468
	 * @model literal="1246-8"
	 * @generated
	 * @ordered
	 */
	public static final int _12468_VALUE = 13;

	/**
	 * The '<em><b>12476</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12476</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12476
	 * @model literal="1247-6"
	 * @generated
	 * @ordered
	 */
	public static final int _12476_VALUE = 14;

	/**
	 * The '<em><b>12484</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>12484</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_12484
	 * @model literal="1248-4"
	 * @generated
	 * @ordered
	 */
	public static final int _12484_VALUE = 15;

	/**
	 * An array of all the '<em><b>Race American Indian Eastern Tribes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RaceAmericanIndianEasternTribes[] VALUES_ARRAY =
		new RaceAmericanIndianEasternTribes[] {
			_12336,
			_12344,
			_12351,
			_12369,
			_12377,
			_12385,
			_12393,
			_12401,
			_12419,
			_12427,
			_12435,
			_12443,
			_12450,
			_12468,
			_12476,
			_12484,
		};

	/**
	 * A public read-only list of all the '<em><b>Race American Indian Eastern Tribes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RaceAmericanIndianEasternTribes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Race American Indian Eastern Tribes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianEasternTribes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAmericanIndianEasternTribes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race American Indian Eastern Tribes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianEasternTribes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RaceAmericanIndianEasternTribes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Race American Indian Eastern Tribes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RaceAmericanIndianEasternTribes get(int value) {
		switch (value) {
			case _12336_VALUE: return _12336;
			case _12344_VALUE: return _12344;
			case _12351_VALUE: return _12351;
			case _12369_VALUE: return _12369;
			case _12377_VALUE: return _12377;
			case _12385_VALUE: return _12385;
			case _12393_VALUE: return _12393;
			case _12401_VALUE: return _12401;
			case _12419_VALUE: return _12419;
			case _12427_VALUE: return _12427;
			case _12435_VALUE: return _12435;
			case _12443_VALUE: return _12443;
			case _12450_VALUE: return _12450;
			case _12468_VALUE: return _12468;
			case _12476_VALUE: return _12476;
			case _12484_VALUE: return _12484;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RaceAmericanIndianEasternTribes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RaceAmericanIndianEasternTribes
